package com.ysd.lis.annotation;

import com.ysd.lis.aspect.OperationType;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

@Documented
@Target(ElementType.METHOD)
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface LogDetail {
    OperationType operationType() default OperationType.OTHER; //操作类型

    String requestParam() default "";

    String module() default "";

    String content() default "";//操作内容

    String logLevel() default ""; //日志级别

    String businessName() default ""; //业务名称
}
